package zhuhai.tedu.parttimess.repository;

import org.springframework.data.jpa.repository.Query;
import zhuhai.tedu.parttimess.domain.User;

public interface UserRepository extends BaseRepository<User,Integer> {
    @Query("select u from  User  u where u.name=?1")
    User findByName(String name);
}
